//
//
//  BigTyre
//
//  Created by 张钧 on 2017/3/23.
//  Copyright © 2017年 Lemon. All rights reserved.
//

#import "MySigninViewController.h"
#import "MyViewController.h"
@interface MySigninViewController ()

@end

@implementation MySigninViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.tabBarController.tabBar.hidden=YES;
    UIImageView * backgroundimage=[[UIImageView alloc]initWithFrame:self.view.frame];
    backgroundimage.image=[UIImage imageNamed:@"IMG_0394"];
    [self.view addSubview:backgroundimage];
    UIButton * backbt=[[UIButton alloc]initWithFrame:CGRectMake(20, 40, 30, 30)];
//    [backbt setTitle:@"✘" forState:0];
//    [backbt setTitleColor:[UIColor blackColor] forState:0];
    [backbt addTarget:self action:@selector(backMyView) forControlEvents:UIControlEventTouchUpInside];
    [self.view addSubview:backbt];
    UITextField * Zhtext=[[UITextField alloc]initWithFrame:CGRectMake((self.view.frame.size.width-300)/2, (self.view.frame.size.height-50)/2, 300, 40)];
    Zhtext.placeholder=@"请输入手机号";
    Zhtext.layer.masksToBounds=YES;
    Zhtext.layer.cornerRadius=20;
    Zhtext.borderStyle=UITextBorderStyleRoundedRect;
    Zhtext.backgroundColor=[UIColor whiteColor];
    [self.view addSubview:Zhtext];
    UITextField * Mmtext=[[UITextField alloc]initWithFrame:CGRectMake((self.view.frame.size.width-300)/2, (self.view.frame.size.height+50)/2, 300, 40)];
    Mmtext.placeholder=@"请输入密码";
    Mmtext.layer.cornerRadius=20;
    Mmtext.layer.masksToBounds=YES;
    Mmtext.borderStyle=UITextBorderStyleRoundedRect;
    Mmtext.backgroundColor=[UIColor whiteColor];
    [self.view addSubview:Mmtext];
}
-(void)backMyView
{
    MyViewController  * my=[[MyViewController alloc]init];
    [self.navigationController popViewControllerAnimated:my];
}


@end
